#include <QApplication>
#include <stdio.h>

#include "dialog.h"

int main(int argc, char** argv)
{
    QApplication app(argc, argv);

    if (argc != 2)
    {
        printf("Enter port number, please!\n");
        return 1;
    }

    Dialog d(argv[1]);
    d.show();

    return app.exec();
}
